using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Acct
    {
        public Acct()
        {
            this.Acct12 = new List<Acct>();
            this.AcctMatchings = new List<AcctMatching>();
            this.AcctOpenings = new List<AcctOpening>();
            this.Acctsums = new List<Acctsum>();
            this.Acctttls = new List<Acctttl>();
            this.AcctttlHists = new List<AcctttlHist>();
            this.Apbtchdts = new List<Apbtchdt>();
            this.Apmemoes = new List<Apmemo>();
            this.ApPaydets = new List<ApPaydet>();
            this.ApPymts = new List<ApPymt>();
            this.Arbtchdts = new List<Arbtchdt>();
            this.Armemoes = new List<Armemo>();
            this.Banklists = new List<Banklist>();
            this.Batchdets = new List<Batchdet>();
            this.Budgets = new List<Budget>();
            this.currencies = new List<currency>();
            this.currencies1 = new List<currency>();
            this.Custs = new List<Cust>();
            this.does = new List<doe>();
            this.Fas = new List<Fa>();
            this.Fas1 = new List<Fa>();
            this.Facats = new List<Facat>();
            this.Facats1 = new List<Facat>();
            this.Gls = new List<Gl>();
            this.Glhists = new List<Glhist>();
            this.Ips = new List<Ip>();
            this.Ipadjusts = new List<Ipadjust>();
            this.Ipadjusts1 = new List<Ipadjust>();
            this.ItemTypes = new List<ItemType>();
            this.ItemTypes1 = new List<ItemType>();
            this.ItemTypes2 = new List<ItemType>();
            this.ItemTypes3 = new List<ItemType>();
            this.JcHists = new List<JcHist>();
            this.Locations = new List<Location>();
            this.Payments = new List<Payment>();
            this.Ps = new List<P>();
            this.PSPayments = new List<PSPayment>();
            this.Refunds = new List<Refund>();
            this.Sys = new List<Sy>();
            this.Vbatchdets = new List<Vbatchdet>();
            this.Vends = new List<Vend>();
            this.Vends1 = new List<Vend>();
            this.Vends2 = new List<Vend>();
        }

        public string DESC { get; set; }
        public Nullable<double> BEGDR { get; set; }
        public Nullable<double> BEGDRDOL { get; set; }
        public Nullable<double> BEGCR { get; set; }
        public Nullable<double> BEGCRDOL { get; set; }
        public Nullable<double> OLDDR { get; set; }
        public Nullable<double> OLDDRDOL { get; set; }
        public Nullable<double> OLDCR { get; set; }
        public Nullable<double> OLDCRDOL { get; set; }
        public Nullable<double> CURDR { get; set; }
        public Nullable<double> CURDRDOL { get; set; }
        public Nullable<double> CURCR { get; set; }
        public Nullable<double> CURCRDOL { get; set; }
        public Nullable<double> OLDDRYA { get; set; }
        public Nullable<double> OLDDRYADOL { get; set; }
        public Nullable<double> OLDCRYA { get; set; }
        public Nullable<double> OLDCRYADOL { get; set; }
        public Nullable<double> CURDRYA { get; set; }
        public Nullable<double> CURDRYADOL { get; set; }
        public Nullable<double> CURCRYA { get; set; }
        public Nullable<double> CURCRYADOL { get; set; }
        public string TYPE { get; set; }
        public string CLASS { get; set; }
        public string BDGTCAT { get; set; }
        public string ACCT1 { get; set; }
        public string PARENT { get; set; }
        public short CURRENCY { get; set; }
        public Nullable<double> BEGDRACCT { get; set; }
        public Nullable<double> BEGCRACCT { get; set; }
        public Nullable<double> OLDDRACCT { get; set; }
        public Nullable<double> OLDCRACCT { get; set; }
        public Nullable<double> CURDRACCT { get; set; }
        public Nullable<double> CURCRACCT { get; set; }
        public Nullable<double> OLDDRYAACT { get; set; }
        public Nullable<double> OLDCRYAACT { get; set; }
        public Nullable<double> CURDRYAACT { get; set; }
        public Nullable<double> CURCRYAACT { get; set; }
        public string TYPEGEN { get; set; }
        public string File_Primary_Key { get; set; }
        public bool HeaderAcct { get; set; }
        public Nullable<System.DateTime> CreationDate { get; set; }
        public Nullable<System.DateTime> Lastupdate { get; set; }
        public Nullable<bool> vatacct { get; set; }
        public Nullable<int> HeaderID { get; set; }
        public string SubAcct { get; set; }
        public Nullable<int> level { get; set; }
        public int ACCTID { get; set; }
        public string opositacct { get; set; }
        public Nullable<bool> isopositacct { get; set; }
        public string Acct_OppositeAcctType { get; set; }
        public virtual Acct Acct11 { get; set; }
        public virtual Acct Acct2 { get; set; }
        public virtual currency currency1 { get; set; }
        public virtual ICollection<Acct> Acct12 { get; set; }
        public virtual Acct Acct3 { get; set; }
        public virtual ICollection<AcctMatching> AcctMatchings { get; set; }
        public virtual ICollection<AcctOpening> AcctOpenings { get; set; }
        public virtual Acctsum Acctsum { get; set; }
        public virtual ICollection<Acctsum> Acctsums { get; set; }
        public virtual ICollection<Acctttl> Acctttls { get; set; }
        public virtual ICollection<AcctttlHist> AcctttlHists { get; set; }
        public virtual ICollection<Apbtchdt> Apbtchdts { get; set; }
        public virtual ICollection<Apmemo> Apmemoes { get; set; }
        public virtual ICollection<ApPaydet> ApPaydets { get; set; }
        public virtual ICollection<ApPymt> ApPymts { get; set; }
        public virtual ICollection<Arbtchdt> Arbtchdts { get; set; }
        public virtual ICollection<Armemo> Armemoes { get; set; }
        public virtual ICollection<Banklist> Banklists { get; set; }
        public virtual ICollection<Batchdet> Batchdets { get; set; }
        public virtual BsAlterSect BsAlterSect { get; set; }
        public virtual ICollection<Budget> Budgets { get; set; }
        public virtual ICollection<currency> currencies { get; set; }
        public virtual ICollection<currency> currencies1 { get; set; }
        public virtual ICollection<Cust> Custs { get; set; }
        public virtual ICollection<doe> does { get; set; }
        public virtual ICollection<Fa> Fas { get; set; }
        public virtual ICollection<Fa> Fas1 { get; set; }
        public virtual ICollection<Facat> Facats { get; set; }
        public virtual ICollection<Facat> Facats1 { get; set; }
        public virtual ICollection<Gl> Gls { get; set; }
        public virtual ICollection<Glhist> Glhists { get; set; }
        public virtual ICollection<Ip> Ips { get; set; }
        public virtual ICollection<Ipadjust> Ipadjusts { get; set; }
        public virtual ICollection<Ipadjust> Ipadjusts1 { get; set; }
        public virtual ICollection<ItemType> ItemTypes { get; set; }
        public virtual ICollection<ItemType> ItemTypes1 { get; set; }
        public virtual ICollection<ItemType> ItemTypes2 { get; set; }
        public virtual ICollection<ItemType> ItemTypes3 { get; set; }
        public virtual ICollection<JcHist> JcHists { get; set; }
        public virtual ICollection<Location> Locations { get; set; }
        public virtual Parent Parent1 { get; set; }
        public virtual ICollection<Payment> Payments { get; set; }
        public virtual ICollection<P> Ps { get; set; }
        public virtual ICollection<PSPayment> PSPayments { get; set; }
        public virtual ICollection<Refund> Refunds { get; set; }
        public virtual ICollection<Sy> Sys { get; set; }
        public virtual ICollection<Vbatchdet> Vbatchdets { get; set; }
        public virtual ICollection<Vend> Vends { get; set; }
        public virtual ICollection<Vend> Vends1 { get; set; }
        public virtual ICollection<Vend> Vends2 { get; set; }
    }
}
